package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.place;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class PlaceDeviceListResponse extends SecurityResponse<PlaceDeviceListResponse.Body> {

    private static final long serialVersionUID = 1L;

	public PlaceDeviceListResponse() {
        this.body = new Body();
    }

    public PlaceDeviceListResponse(Integer code, String msg) {
        super(code,msg);
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;
        
		public List<Item> items;

        public List<Item> getItems() {
            return items;
        }

        public void setItems(List<Item> items) {
            this.items = items;
        }
    }

    public static class Item {

        private String deviceSn;
        private String deviceTypeId;
        private String deviceTypeName;
        private List<String> deviceFunCodes;
        private List<String> deviceFunNames;
        private Integer state;
        private String stateName;
        private String bindNote;
        private Date deployDate;

        public String getDeviceSn() {
            return deviceSn;
        }

        public void setDeviceSn(String deviceSn) {
            this.deviceSn = deviceSn;
        }

        public String getDeviceTypeId() {
            return deviceTypeId;
        }

        public void setDeviceTypeId(String deviceTypeId) {
            this.deviceTypeId = deviceTypeId;
        }

        public String getDeviceTypeName() {
            return deviceTypeName;
        }

        public void setDeviceTypeName(String deviceTypeName) {
            this.deviceTypeName = deviceTypeName;
        }

        public List<String> getDeviceFunCodes() {
            return deviceFunCodes;
        }

        public void setDeviceFunCodes(List<String> deviceFunCodes) {
            this.deviceFunCodes = deviceFunCodes;
        }

        public List<String> getDeviceFunNames() {
            return deviceFunNames;
        }

        public void setDeviceFunNames(List<String> deviceFunNames) {
            this.deviceFunNames = deviceFunNames;
        }

        public Integer getState() {
            return state;
        }

        public void setState(Integer state) {
            this.state = state;
        }

        public String getStateName() {
            return stateName;
        }

        public void setStateName(String stateName) {
            this.stateName = stateName;
        }

        public String getBindNote() {
            return bindNote;
        }

        public void setBindNote(String bindNote) {
            this.bindNote = bindNote;
        }

        public Date getDeployDate() {
            return deployDate;
        }

        public void setDeployDate(Date deployDate) {
            this.deployDate = deployDate;
        }
    }
}
